package cn.ddy;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * @author ddy
 * @create 2020-08-19 09:21:09
 */
@Controller
public class TestErrorController {

    @RequestMapping("testError")
    public String testError() {
        int a=10/0;
        return "ok";
    }

}
